gtkwindow: claim the press sequence when clicking on the titlebar
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Nov 2014 11:55:52 +0000 (12:55 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Nov 2014 12:54:10 +0000 (13:54 +0100)
commit52a90758f961d39fe92c12546136849991b28ddd
treea3a73ed56eb53f6a10205871eff4e25d5d48edf3
parent4df13b7262e3533d93a5c9d6d9fdc7e82a242447
gtkwindow: claim the press sequence when clicking on the titlebar

This event might not have an action yet, but certainly accounts, and
should be triggering recognition.

This fixes a crash when attempting to drag CSD windows through touch. As
since cfaec2d2f542, gtk_gesture_single_get_current_sequence() would
rightfully return NULL if the gesture didn't enter recognition, making
event lookup fail.
gtk/gtkwindow.c